package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 挂号管理对象 charge
 * 
 * @author ruoyi
 * @date 2023-01-11
 */
public class Charge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 应收金额 */
    @Excel(name = "应收金额")
    private Long cReceivable;

    /** 优惠金额 */
    @Excel(name = "优惠金额")
    private Long cDiscount;

    /** 折扣 */
    @Excel(name = "折扣")
    private Long cRebate;

    /** 医保支付 */
    @Excel(name = "医保支付")
    private Long cMedical;

    /** 实收金额 */
    @Excel(name = "实收金额")
    private Long cRealityMoney;

    /** 找零 */
    @Excel(name = "找零")
    private Long cGiveMoney;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String cPayment;

    /** 收费日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收费日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cStartDate;

    /** 退费金额 */
    @Excel(name = "退费金额")
    private Long cRefund;

    /** 退费日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退费日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cEndDate;

    /** 退费方式 */
    @Excel(name = "退费方式")
    private Long cRefundPayment;

    /** 收费员 */
    @Excel(name = "收费员")
    private String cChecker;

    /** 患者id */
    @Excel(name = "患者id")
    private String patientId;

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    /** 收款备注 */
    @Excel(name = "收款备注")
    private String cRemark;

    @Excel(name = "患者姓名")
    private String pName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setcReceivable(Long cReceivable) 
    {
        this.cReceivable = cReceivable;
    }

    public Long getcReceivable() 
    {
        return cReceivable;
    }
    public void setcDiscount(Long cDiscount) 
    {
        this.cDiscount = cDiscount;
    }

    public Long getcDiscount() 
    {
        return cDiscount;
    }
    public void setcRebate(Long cRebate) 
    {
        this.cRebate = cRebate;
    }

    public Long getcRebate() 
    {
        return cRebate;
    }
    public void setcMedical(Long cMedical) 
    {
        this.cMedical = cMedical;
    }

    public Long getcMedical() 
    {
        return cMedical;
    }
    public void setcRealityMoney(Long cRealityMoney) 
    {
        this.cRealityMoney = cRealityMoney;
    }

    public Long getcRealityMoney() 
    {
        return cRealityMoney;
    }
    public void setcGiveMoney(Long cGiveMoney) 
    {
        this.cGiveMoney = cGiveMoney;
    }

    public Long getcGiveMoney() 
    {
        return cGiveMoney;
    }
    public void setcPayment(String cPayment) 
    {
        this.cPayment = cPayment;
    }

    public String getcPayment() 
    {
        return cPayment;
    }
    public void setcStartDate(Date cStartDate) 
    {
        this.cStartDate = cStartDate;
    }

    public Date getcStartDate() 
    {
        return cStartDate;
    }
    public void setcRefund(Long cRefund) 
    {
        this.cRefund = cRefund;
    }

    public Long getcRefund() 
    {
        return cRefund;
    }
    public void setcEndDate(Date cEndDate) 
    {
        this.cEndDate = cEndDate;
    }

    public Date getcEndDate() 
    {
        return cEndDate;
    }
    public void setcRefundPayment(Long cRefundPayment) 
    {
        this.cRefundPayment = cRefundPayment;
    }

    public Long getcRefundPayment() 
    {
        return cRefundPayment;
    }
    public void setcChecker(String cChecker) 
    {
        this.cChecker = cChecker;
    }

    public String getcChecker() 
    {
        return cChecker;
    }
    public void setPatientId(String patientId)
    {
        this.patientId = patientId;
    }

    public String getPatientId()
    {
        return patientId;
    }
    public void setcRemark(String cRemark) 
    {
        this.cRemark = cRemark;
    }

    public String getcRemark() 
    {
        return cRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cReceivable", getcReceivable())
            .append("cDiscount", getcDiscount())
            .append("cRebate", getcRebate())
            .append("cMedical", getcMedical())
            .append("cRealityMoney", getcRealityMoney())
            .append("cGiveMoney", getcGiveMoney())
            .append("cPayment", getcPayment())
            .append("cStartDate", getcStartDate())
            .append("cRefund", getcRefund())
            .append("cEndDate", getcEndDate())
            .append("cRefundPayment", getcRefundPayment())
            .append("cChecker", getcChecker())
            .append("patientId", getPatientId())
            .append("cRemark", getcRemark())
            .toString();
    }
}
